﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Services;
using YaAppoint.Response;

namespace YaAppoint.ApplyDepartments
{
    /// <summary>
    /// 申请科室服务
    /// </summary>
    [RemoteService(isEnabled:false)]
    public interface IApplyDepartmentAppService:IApplicationService
    {
        Task<BackJson> GetList(string? filterName);

        Task<BackJson> SubmitCreate(CreateApplyDepartmentDto dto);

        Task<BackJson> SubmitEdit(ApplyDepartmentDto dto);

        Task<BackJson> Delete(Guid id);

        Task<BackJson> DeleteMany(List<Guid> ids);

        Task<BackJson> SyncData();

        Task<BackJson> GetDetail(Guid id);
    }
}
